<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%@page import="com.lmpop.trade.ts_custclass.*" %>
<%
	request.setCharacterEncoding("UTF-8");
	Map ts_custclass = new Hashtable();
	String user_id="";
	if( session.getAttribute("session_user_id") != null )
	{
		user_id = session.getAttribute("session_user_id").toString();
	}
	Ts_custclassInfo ts_custclassInfo = new Ts_custclassInfo();
	String selectString = "<option value='0'>企业会员</option><option value='1' >个人会员</option>";
%>

<html>
  <head>
    <title>级别管理</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="custclass.js"></script>
	<script type="text/javascript" src="/program/admin/js/judgment.js" charset="UTF-8"></script>
</head>

<body>
	<h1>级别管理</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				级别代码<font color="red">*</font>
			</td>
			<td><input name="cust_class" id="cust_class" type="text"  onKeyUp="if(!/^[0-9][0-9]*$/.test(this.value))this.value=''" onBlur="checkcustclass()"/></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				级别名称<font color="red">*</font>
			</td>
			<td><input name="cust_class_name" id="cust_class_name" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				级别类型<font color="red">*</font>
			</td>
			<td><select name="class_type" id="class_type"><%=selectString%></select></td>
		</tr>
		
		
		<tr>
			<td align="right" width="10%">
				备注:
			</td>
			<td><input name="remark" id="remark" type="text" /></td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="6377" />
				<input name="cust_oper_person" id="cust_oper_person" type="hidden" value="<%=user_id%>"/>
				<input type="button" class="buttoncss" name="tradeSub" value="提交" onclick="return submitForm();"/>&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onclick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
